﻿<%@ Page Title="Student" Language="C#" MasterPageFile="~/markview/Site.Master" AutoEventWireup="true"
    CodeFile="Student.aspx.cs" Inherits="markview._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style1
        {
            width: 452px;
        }
        </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2 align="center">
        Student information</h2>
    <p align="center">
        &nbsp;<table style="width:100%;">
            <tr>
                <td class="style1" align="center">
                    <asp:Label ID="Label1" runat="server" Text="Student ID :"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtstudentid" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
    </p>
    <p align="center">
        <table style="width:100%;">
            <tr>
                <td class="style1" align="center">
                    <asp:Label ID="Label2" runat="server" Text="Student Name :"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtname" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
    </p>
    <p align="center">
        <table style="width:100%;">
            <tr>
                <td class="style1" align="center">
                    <asp:Label ID="Label3" runat="server" Text="Class"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtclass" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
    </p>
    <p align="center">
                    <asp:Button ID="btnadd" runat="server" Text="Add" />
                    
                    <asp:Button ID="btnedit" runat="server" Text="Edit" />

                    <asp:Button ID="btndel" runat="server" Text="Delete" />

    </p>
    <p align="center">
                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" Height="151px" 
                        ShowFooter="True" Width="468px" AutoGenerateColumns="False">
                        <HeaderStyle BackColor="#3399FF" />
                    </asp:GridView>

    </p>
    </asp:Content>
